package facade;

/**
 * @author dongtao
 * @desc
 * @Data 2021-08-16
 */
public class Client {
    public static void main(String[] args) {
        SubSystem1 subSystem1 = new SubSystem1();
        SubSystem2 subSystem2 = new SubSystem2();
        Facade facade = new Facade(subSystem1, subSystem2);
        
        facade.on();
        facade.off();
    }
}
